package com.azt.provider.mapper;

import com.azt.api.pojo.LevelConfig;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface LevelConfigMapper extends Mapper<LevelConfig> {

    /**
     * 根据等级类型查询
     */
    List<LevelConfig> selectByLevelType(@Param("levelType") Integer levelType);

    /**
     * 查询等级
     */
    LevelConfig selectLevel(@Param("levelType") Integer levelType, @Param("value") Integer value);

}